using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;  
using System.Data.Linq.Mapping;
using System.Data.Linq;
namespace MRSite.Entity  
{
    /// <summary>
    /// 贡献值转换
    /// </summary>
     [Table(Name = "score_waitrecharge")]
    public class ScoreWaitRecharge : Entity
    { 
		/// <summary>
		///
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        [Column(Name = "user_id")]
        public int user_id { get; set; }

           /// <summary>
        /// 用户名
        /// </summary>
        [Column(Name = "username")]
        public string username { get; set; }
         
	 
		/// <summary>
		/// 报单金额
		/// </summary>
		[Column(Name = "amount")]
		public Decimal amount{ get; set; } 

		/// <summary>
		///
		/// </summary>
		[Column(Name = "addtime",IsDbGenerated=true)]
		public DateTime addtime{ get; set; } 

         /// <summary>
		///  交易单号
		/// </summary>
        [Column(Name = "trade_no")]
        public String trade_no { get; set; }
		    

		/// <summary>
		///0待处理,1已确认,2已取消
		/// </summary>
		[Column(Name = "status")]
		public int status{ get; set; } 

		/// <summary>
		///
		/// </summary>
		[Column(Name = "remark")]
		public String remark{ get; set; }

   

             /// <summary>
         /// 释放周期
         /// </summary>
          [Column(Name = "days")]
          public int days { get; set; }

         
        

          /// <summary>
		///  审核时间
		/// </summary>
        [Column(Name = "checktime")]
        public DateTime? checktime { get; set; }

        /// <summary>
        /// 审核备注
        /// </summary>
        [Column(Name = "checkremark")]
        public string checkremark { get; set; }


         

        /// <summary>
        /// 已释放数量
        /// </summary>
        [Column(Name = "returngolds")]
        public Decimal returngolds { get; set; }

        /// <summary>
        /// 返点状态0返点中,1已返完,2已作废
        /// </summary>
        [Column(Name = "returnstatus")]
        public int returnstatus { get; set; }

        /// <summary>
        /// 报单类别(1:投资，能返金币；0：金币复投，不能返金币)
        /// </summary>
        [Column(Name = "bdtype")]
        public int bdtype { get; set; }


        


        /// <summary>
        /// 日释放数量
        /// </summary>
        [Column(Name = "daygold")]
        public Decimal daygold { get; set; }

          

        /// <summary>
        /// 释放开始时间
        /// </summary>
        [Column(Name = "starttime")]
        public DateTime? starttime { get; set; }

        /// <summary>
        /// 释放结束时间
        /// </summary>
        [Column(Name = "endtime")]
        public DateTime? endtime { get; set; }

            /// <summary>
        /// 全部返完时间
        /// </summary>
        [Column(Name = "returntime")]
        public DateTime? returntime { get; set; }

         

         /// <summary>
        /// 代报单用户id
        /// </summary>
        [Column(Name = "bduser_id")]
        public int bduser_id { get; set; }

         /// <summary>
        /// 已释放天数
        /// </summary>
        [Column(Name = "hasdays")]
        public int hasdays { get; set; }
         

       
	 } 
}    

